//
//  CustomPicker.h
//  CustomPicker
//
//  Created by Joinwe on 16/3/24.
//  Copyright © 2016年 Joinwe. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol CustomPickerDelegate <NSObject>

- (void)bankImage:(NSString *)imageName bankName:(NSString *)name;

@end



@interface CustomPicker : UIView


@property (nonatomic, retain) id <CustomPickerDelegate>delegate;

+ (instancetype)sharePickWithImageArray:(NSArray *)imageArray nameArray:(NSArray *)nameArray;

- (instancetype)initWithImageArray:(NSArray *)imageArray nameArray:(NSArray *)nameArray;

- (void)show;

@end
